﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PointsUDRcordEdit.aspx.cs" Inherits="CNVP.JShop.Web.Admin.PointsUDRcordEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
            <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="IE=7" http-equiv="X-UA-Compatible" />
    <link href="CSS/Edit.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery.js" type="text/javascript"></script>
    <script src="../Scripts/Common.js" type="text/javascript"></script>
    <script type ="text/javascript">
        $(function () {
            $("#btUp").click(function () {
                var $txtPointsNum = $("#txtPointsNum");
                if ($txtPointsNum.val() == "") {
                    alert("请输入调整积分(增/减)！");
                    $txtPointsNum.focus();
                    return false;
                }
                else if (!IsInteger($txtPointsNum.val())) {
                    alert("调整积分(增/减)格式不正确！");
                    $txtPointsNum.focus();
                    return false;
                }
                var $txtOperateDetail = $("#txtOperateDetail");
                if ($txtOperateDetail.val() == "") {
                    alert("请输入操作摘要！");
                    $txtOperateDetail.focus();
                    return false;
                }
                if ($txtOperateDetail.val().length > 2000) {
                    alert("操作摘要过长，请不要超过2000字！");
                    $txtOperateDetail.focus();
                    return false;
                }
                return true;
            });
        });
   </script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="Content">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="cell">
                <tr>
                    <td class="cell_group" >
                        <img src="Images/ListIconTitle.jpg" alt="" />&nbsp;您的位置：<a href="UserList.aspx">会员管理</a> > <a href="PointsUDRcordList.aspx?UserID=<%=UserID %>">‘<asp:Label ID="lbUserName" runat="server" ></asp:Label>’积分管理</a> > <asp:Label ID="lbTitle" runat="server"></asp:Label>
                    </td>
                </tr>
             </table>
                <table border="0" cellpadding="0" cellspacing="0" class="division">
                        <tr>
                            <th>
                                 当前积分:</th>
                            <td>
                                 <asp:Label ID="lbNowPointsNum" runat="server"></asp:Label>
                                </td>
                        </tr>
                        <tr>
                            <th>
                                 调整积分(增/减):</th>
                            <td>
                                 <asp:TextBox ID="txtPointsNum" runat="server" MaxLength="50" />
                                </td>
                        </tr>
                        <tr>
                            <th>
                                操作摘要:</th>
                            <td>
                                 <asp:TextBox ID="txtOperateDetail" runat="server" Height="50px" TextMode="MultiLine" Width="455px"/>
                                </td>
                        </tr> 
                </table>
            <div class="EditBtn"> 
                <asp:Button ID="btUp" runat="server" Text="提交" OnClick="btUp_Click" />
                <input type="button" value="取消" onclick="javascript:history.go(-1)" />
                </div>
        </div>
    </form>
</body>
</html>


